<!DOCTYPEhtml>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>Document</title>
	</head>
	<body>
		<h3 id="myh3">全屏</h3>
		<p id="myp">
			搜狗指南
			搜狗指南
			搜狗指南
		</p>
	</body>
</html>
<script>
	var h3 = document.getElementById("myh3");
	var p = document.getElementById("myp");
	h3.addEventListener("click", function() {
		p.webkitRequestFullScreen();
		/* p.msRequestFullScreen();
		p.oRequestFullScreen();
		p.mozRequestFullScreen(); */
	});
</script>
